FROM java:8-alpine

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && echo 'Asia/Shanghai' >/etc/timezone

ADD target/original-erp-admin-api-1.0-SNAPSHOT.jar app.jar

# 配置容器启动后执行的命令
ENTRYPOINT ["java","-jar","/app.jar"]